Skip to content

Restore saved object labels from older reference caches - #135

Merged
mahach666 merged 1 commit into
mainfrom
codex/legacy-reference-labels
Dec 6, 2026
Merged

mahach666 merged 1 commit into
mainfrom
codex/legacy-reference-labels

Conversation

@mahach666

Copy link
Copy Markdown
Contributor

What changes and why

Decode saved names, descriptions and object type text from types 29 and 31 in older attributes.tsfodat tables. Linked scene exports apply those fields and use saved names in group memberships. If the optional table is malformed, the scene retains the reference geometry and reports a warning.

How it was checked

  • Release build and full and native-only tests on .NET 8 and .NET 10
  • Package dependency verification
  • Compare native decoding of 37,010 object labels in 45 distinct tables against raw records
  • Compare eight OFFICE US Imperial references with TRB8, matching 3,881 names, 726 descriptions and 1,656 named memberships
  • Synthetic fixtures cover Unicode, record order, shared references, malformed optional tables and input overwrite protection
  • Repository fixtures contain synthetic data

@mahach666
mahach666 marked this pull request as ready for review December 6, 2026 15:02
@mahach666
mahach666 merged commit fa4f1c8 into main Dec 6, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant